<template>
<div> 
<Shu1 v-for="(item,index) in list" :key="index" :index="index" @result="resultFn"/>
 <Shu2 v-for="(result,index) in list" :key="index" :result="result"  :index="index" />
</div>
 
</template>

<script>
import Shu1 from "./components/Shu1.vue"
import Shu2 from "./components/Shu2.vue"
export default {
    data(){
        return{
            list:["未完成","未完成","未完成","未完成","未完成"]
        }
    },
components: {
    Shu1,
    Shu2
},
methods:{
    resultFn(resultStr,index){
this.$set(this.list,index,resultStr)
    }
}
};
</script>

<style scoped>

</style>